package com.gxa.service.impl;

import com.gxa.dao.OwnerDao;
import com.gxa.dao.impl.OwnerDaoImpl;
import com.gxa.entity.Owner;
import com.gxa.service.OwnerService;

import java.sql.SQLException;
import java.util.List;

/**
 * 业主 业务逻辑层 实现类
 */
public class OwnerServiceImpl implements OwnerService {
    private OwnerDao ownerDao = new OwnerDaoImpl();
    @Override
    public List<Owner> queryAllOwner() throws SQLException {
        return ownerDao.selectAllOwner();
    }
}
